﻿Public Class EditorLocalizer
    Inherits DevExpress.XtraEditors.Controls.Localizer

    Public Overrides Function GetLocalizedString(ByVal id As DevExpress.XtraEditors.Controls.StringId) As String
        Select Case id
            Case DevExpress.XtraEditors.Controls.StringId.DateEditToday
                Return "Hoy"
            Case DevExpress.XtraEditors.Controls.StringId.DateEditClear
                Return "Limpiar"
            Case DevExpress.XtraEditors.Controls.StringId.FilterClauseAnyOf
                Return "Cualquiera de"
            Case DevExpress.XtraEditors.Controls.StringId.FilterClauseBeginsWith
                Return "Comienza con"
            Case DevExpress.XtraEditors.Controls.StringId.FilterClauseBetween, DevExpress.XtraEditors.Controls.StringId.FilterCriteriaToStringBetween
                Return "Entre"
            Case DevExpress.XtraEditors.Controls.StringId.FilterClauseBetweenAnd, DevExpress.XtraEditors.Controls.StringId.FilterCriteriaToStringBinaryOperatorBitwiseAnd
                Return " Y "
            Case DevExpress.XtraEditors.Controls.StringId.FilterClauseContains
                Return "Contiene"
            Case DevExpress.XtraEditors.Controls.StringId.FilterClauseDoesNotContain
                Return "No contiene"
            Case DevExpress.XtraEditors.Controls.StringId.FilterClauseDoesNotEqual
                Return "No igual"
            Case DevExpress.XtraEditors.Controls.StringId.FilterClauseEndsWith
                Return "Termina con"
            Case DevExpress.XtraEditors.Controls.StringId.FilterClauseEquals
                Return "Igual"
            Case DevExpress.XtraEditors.Controls.StringId.FilterClauseGreater
                Return "Mayor que"
            Case DevExpress.XtraEditors.Controls.StringId.FilterClauseGreaterOrEqual
                Return "Mayor o igual que"
            Case DevExpress.XtraEditors.Controls.StringId.FilterClauseIsNotNull
                Return "No nulo"
            Case DevExpress.XtraEditors.Controls.StringId.FilterClauseIsNull, DevExpress.XtraEditors.Controls.StringId.FilterCriteriaToStringFunctionIsNull
                Return " Nulo "
            Case DevExpress.XtraEditors.Controls.StringId.FilterClauseLess
                Return "Menor que"
            Case DevExpress.XtraEditors.Controls.StringId.FilterClauseLessOrEqual
                Return "Menor o igual que"
            Case DevExpress.XtraEditors.Controls.StringId.FilterClauseLike, DevExpress.XtraEditors.Controls.StringId.FilterCriteriaToStringBinaryOperatorLike
                Return " Parecido "
            Case DevExpress.XtraEditors.Controls.StringId.FilterClauseNoneOf
                Return "Ninguno de"
            Case DevExpress.XtraEditors.Controls.StringId.FilterClauseNotBetween
                Return "No esta entre"
            Case DevExpress.XtraEditors.Controls.StringId.FilterClauseNotLike
                Return "No es parecido"
            Case DevExpress.XtraEditors.Controls.StringId.FilterGroupAnd
                Return "Y"
            Case DevExpress.XtraEditors.Controls.StringId.FilterGroupNotAnd
                Return "No Y"
            Case DevExpress.XtraEditors.Controls.StringId.FilterGroupNotOr
                Return "No O"
            Case DevExpress.XtraEditors.Controls.StringId.FilterGroupOr, DevExpress.XtraEditors.Controls.StringId.FilterCriteriaToStringBinaryOperatorBitwiseOr
                Return " O "
            Case DevExpress.XtraEditors.Controls.StringId.FilterShowAll
                Return "Mostrar todos"
            Case DevExpress.XtraEditors.Controls.StringId.DataEmpty
                Return "Sin datos"
            Case DevExpress.XtraEditors.Controls.StringId.Apply
                Return "Aplicar"
            Case DevExpress.XtraEditors.Controls.StringId.FilterCriteriaToStringFunctionIif
                Return " Si "
            Case DevExpress.XtraEditors.Controls.StringId.FilterEmptyEnter
                Return "Ingrese un valor"
            Case DevExpress.XtraEditors.Controls.StringId.FilterEmptyParameter
                Return "Ingrese un parametro"
            Case DevExpress.XtraEditors.Controls.StringId.FilterEmptyValue
                Return "Filtro sin valor"
            Case DevExpress.XtraEditors.Controls.StringId.FilterMenuClearAll
                Return "Limpiar"
            Case DevExpress.XtraEditors.Controls.StringId.FilterMenuConditionAdd
                Return "Agregar filtro"
            Case DevExpress.XtraEditors.Controls.StringId.FilterShowAll
                Return "Mostrar todos"
            Case DevExpress.XtraEditors.Controls.StringId.LookUpEditValueIsNull
                Return "El valor es nulo"
            Case DevExpress.XtraEditors.Controls.StringId.XtraMessageBoxYesButtonText
                Return "Si"
            Case DevExpress.XtraEditors.Controls.StringId.XtraMessageBoxAbortButtonText
                Return "Abortar"
            Case DevExpress.XtraEditors.Controls.StringId.XtraMessageBoxCancelButtonText
                Return "Cancelar"
            Case DevExpress.XtraEditors.Controls.StringId.XtraMessageBoxIgnoreButtonText
                Return "Ignorar"
            Case DevExpress.XtraEditors.Controls.StringId.XtraMessageBoxNoButtonText
                Return "No"
            Case DevExpress.XtraEditors.Controls.StringId.XtraMessageBoxOkButtonText
                Return "Ok"
            Case DevExpress.XtraEditors.Controls.StringId.XtraMessageBoxRetryButtonText
                Return "Reintentar"
        End Select


        Return MyBase.GetLocalizedString(id)
    End Function

End Class
